💥 Remove remoteConfigurationId from RUM SDK (breaking change, v7)#4244
Draft
mormubis wants to merge 8 commits intoadlrb/ssi-e2efrom
Draft
💥 Remove remoteConfigurationId from RUM SDK (breaking change, v7)#4244mormubis wants to merge 8 commits intoadlrb/ssi-e2efrom
mormubis wants to merge 8 commits intoadlrb/ssi-e2efrom
Conversation
BREAKING CHANGE: remoteConfigurationId and remoteConfigurationProxy are
removed from datadogRum.init() options.
Migration guide:
// Before (v6)
datadogRum.init({ remoteConfigurationId: 'xxx', ...options })
// After (v7)
import { fetchRemoteConfiguration } from '@datadog/browser-remote-config'
const result = await fetchRemoteConfiguration({ applicationId, configId, site })
if (result.ok) {
datadogRum.init({ ...result.value.rum })
}
The remote configuration logic now lives in @datadog/browser-remote-config,
giving customers more control: parallel fetching, custom caching, error handling.
…rdering - Export CONTEXT_RESOLUTION_HELPERS from endpoint package index so tests can import it - Replace inline helper copies in E2E setup factories with the canonical CONTEXT_RESOLUTION_HELPERS string (cookie-name regex-escaping, extractor support, DOM password guard) - Fix globalContext test context collision: re-apply test isolation properties via setGlobalContextProperty after init instead of setGlobalContext before init - Fix dynamic cookie test: pre-set cookie via preSDKScript before SDK loads (no second navigation needed) - Consolidate two setup factories into shared createEmbeddedConfigSetup with optional preSDKScript
…scenario imports Playwright prohibits importing between test scenario files. Move the shared setup factory to test/e2e/lib/helpers/embeddedConfigSetup.ts so both embeddedConfig and embeddedConfigDynamic scenarios can import it cleanly.
cbd958b to
7b0e30e
Compare
Bundles Sizes Evolution
🚀 CPU Performance
🧠 Memory Performance
|
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: 7b0e30e | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
As part of the SSI (Single-Step Instrumentation) Phase 6 initiative, the
remoteConfigurationIdfield and the entire remote-configuration integration that was previously embedded inrum-coreis being removed. Remote configuration is now handled by the standalone@datadog/browser-remote-configpackage (PR2) consumed by the new@datadog/browser-sdk-endpointpackage (PR3), which acts as the SSI entry point.This is a v7 breaking change: any customer who configured
remoteConfigurationIdmust migrate to the new endpoint-based approach.Changes
remoteConfigurationIdfromRumInitConfigurationand all runtime code inrum-corepackages/rum-core/src/domain/configuration/remoteConfiguration.tsand its specspackages/rum-core/src/domain/configuration/jsonPathParser.spec.ts(moved to@datadog/browser-remote-config)preStartRum.ts,configuration.ts,eventTracker.ts, and their index exports to remove all references to remote configurationTest instructions
Checklist